package com.tanhua.model;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
      private Long id;
      private String mobile;
      private String password;
      private Date created;
      private Date updated;

    public User() {
    }

    public User(Long id, String mobile, String password, Date created, Date updated) {
        this.id = id;
        this.mobile = mobile;
        this.password = password;
        this.created = created;
        this.updated = updated;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", mobile='" + mobile + '\'' +
                ", password='" + password + '\'' +
                ", created=" + created +
                ", updated=" + updated +
                '}';
    }
}
